#include "fTextEdit.h"
#include "ui_fTextEdit.h"

fTextEdit::fTextEdit(QWidget *parent) :
    QWidget(parent),
    ui(new Ui::fTextEdit)
{
    ui->setupUi(this);
}

fTextEdit::~fTextEdit()
{
    delete ui;
}

void fTextEdit::setText(const QString &context)
{
    ui->textEdit->setText(context);
}

QString fTextEdit::text() const{return ui->textEdit->toPlainText();}
